package com.tjdx.projectsubmission.vo.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 关注事件：B2 灭火能力不足
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EventB2 {
    private List<Record1> records1; //火灾自动报警设备列表
    private List<Record2> records2; //灭火设备列表
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    private static class Record1 {
        private String name; //名称
        private String location; //位置
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    private static class Record2 {
        private String name; //名称
        private String location; //位置
        private String number; //数量

    }
}
